﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">滚动图片列表</a></span>
            <div class="z-f-r"><span class="user-t">当前语言为：</span><span class="user-info"><?php echo $GLOBALS['langdata'][$GLOBALS['langtype']] ;?></span><!-- <a href="#">退出</a> --></div>
        </div>
        <div class="top-menu">
        	<ul>			
                <li class="current"><a href="#" >滚动图片列表</a></li>
                <li><a  href="index.php?app=rollpic&act=add"   target="mainframe">增加滚动图片</a></li>			
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">


    <table  class="data" >
        <thead>
	                                       <th >排序</th>
	                                       <th >缩略图</th>
	                                       <th >名称</th>
	                                       <th >发布时间</th>
	                                       <th >状态</th>
	                                       <th >操作</th>			
			
        </thead>
	    <tbody>
                                     <!--{foreach($picdata as $_key => $_value )}-->
                                     
                                     <tr >
	                                       <td>
	                                           <input type="text" name="sort" value="{$_value.sort}" style="width:20px; text-align:center" maxlength="2" onchange="ato_url('index.php?app=rollpic&act=psort&id={$_value.id}',this);"/>

                                          </td>
	                                       <td><img src="{$_value.images_url|picdir}"  height="100" width="200"/></td>
	                                       <td>{$_value.name}</td>
	                                       <td>{$_value.add_time|dateymdgis}</td>
	                                       <td><!--{if ($_value.status)}-->{$lang.show}<!--{else}--> {$lang.hidden}<!--{/if}--></td>
	                                       <td>  

	                                            <a href="?app=rollpic&act=edit&id={$_value.id}" target="mainframe">修改</a>/
	                                            <a href="?app=rollpic&act=del&id={$_value.id}" onClick="return confirm('确认删除此图片？此操作无法恢复！');">删除</a>

                                               
	                                      </td>
                                    </tr>
 <!--{/foreach}-->                  
                  
                                    
                                    <tr>
	                                       <td align="center" colspan="5"><input type="button" class="buton" value="新增滚动图片" onClick="to_url('index.php?app=rollpic&act=add');" /> <input type="button" class="buton" value=" 更新滚动图片缓存 "  onClick="to_url('index.php?app=rollpic&act=cache');" /></td>

                                   </tr>
			
			
	    </tbody>
    </table>
	

	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->